#pragma once
#include <string>

class UserInfo
{
private:
	std::string userName; // present user Name
	std::string userPassword; // present user password
	std::string userDisplayName; // user display name
	unsigned int userAge; // user age
	std::string userGrade; // user grade
	
public:
	UserInfo(); // default constructor

	UserInfo(std::string uName, std::string pass); // normal constructor

	std::string getUserName() const; // get user Name

	std::string getPassword() const; // get user password

	std::string getDisplayName() const; // get user display name

	unsigned int getAge() const; // get user age

	std::string getGrade() const; // get user grade

	void setUserName(std::string userName); // set user name for user

	void setPassword(std::string pass); // set password for user

	void setDisplayName(std::string displayName); // set user display name

	void setAge(unsigned int age); // set user age

	void setGrade(std::string grade); // user grade 

	std::string toXmlString(); // print to xml Node info

	~UserInfo(); // destructor
};

